<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>BigInt</title>
</head>
<body>
<script>
    let n = 521n;
    console.log(n);

    let n1 = 123;
    let n2 = BigInt(n1);
    console.log(n2);

    let n3 = Number.MAX_SAFE_INTEGER;
    console.log(n3);//9007199254740991
    console.log(n3 + 1);//9007199254740992
    console.log(n3 + 2);//9007199254740992

    let n4 = BigInt(n3);
    console.log(n4 + BigInt(100));//9007199254741091n

</script>
</body>
</html>
